Skip to main content

Interface: Message

Represents a message in the Streamr Network.

Properties

content

content: unknown

The message contents / payload.


msgChainId

msgChainId: string

Identifies the message chain the message was published to.


publisherId

publisherId: [EthereumAddress](../API Reference#ethereumaddress)

Publisher of message.


sequenceNumber

sequenceNumber: number

Tiebreaker used to determine order in the case of multiple messages within a message chain having the same exact timestamp.


signature

signature: string

Signature of message signed by publisher.


streamId

streamId: [StreamID](../API Reference#streamid)

Identifies the stream the message was published to.


streamPartition

streamPartition: number

The partition number the message was published to.


timestamp

timestamp: number

The timestamp of when the message was published.